package com.design03_behavioral.pattern21_command;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName 订单类
 * @Description TODO
 * @Author 22963
 * @DATE 2023/9/10 19:38
 */
public class Order {

    private int diningTable; //餐桌号码

    //存储菜名与份数
    private Map<String,Integer> foodMenu = new HashMap<>();


    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodMenu() {
        return foodMenu;
    }

    public void setFoodMenu(Map<String, Integer> foodMenu) {
        this.foodMenu = foodMenu;
    }
}
